import request from '@/utils/request'


export function hotelReadingAdd(data) {
  return request({
    url: `/hotel/reading`,
    method: 'post',
    data
    // params
  })
}

export function hotelReadingEdit(data) {
  return request({
    url: `/hotel/reading`,
    method: 'put',
    data
    // params
  })
}

export function hotelReadingList(params) {
  return request({
    url: `/hotel/reading/list`,
    method: 'get',
    params
  })
}


export function hotelReadingDelete(configIds) {
  return request({
    url: `/hotel/reading/${configIds}`,
    method: 'delete',
  })
}

export function hotelReadingDetails(configId) {
  return request({
    url: `/hotel/reading/${configId}`,
    method: 'get',
  })
}



